package mn.idax.exchange.otc.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import mn.idax.exchange.common.bean.IdaxBase;

import java.util.Date;

/**
 * Create by jack_huang on 2018/8/9
 * 查询数据库参数
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class OrderPageDTO extends IdaxBase{
    private static final long serialVersionUID = -784949316335188333L;

    private Integer userId;

    private String orderNum;//订单号

    private Integer orderType;

    private Integer orderState;

    private String state;

    private String pair;

    private Integer pageIndex;//当前页

    private Integer pageSize;//每页显示数量

    @JsonFormat(locale="zh",  pattern="yyyy-MM-dd")
    private String startTime;//开始时间

    @JsonFormat(locale="zh",  pattern="yyyy-MM-dd")
    private String endTime;//结束时间
}
